package com.starlink.model.vo.mall;

import com.starlink.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Auther: zhouyuhang01
 * @Date: 2024/4/2 13:27
 * @Description: MallSearchVO
 * @Version 1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("商城搜索响应模型")
public class MallSearchVO extends BaseVO implements Serializable {
    @ApiModelProperty("名称")
    private String title;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("普通用户价格")
    private BigDecimal price;
    @ApiModelProperty("vip用户价格")
    private BigDecimal vipPrice;
    @ApiModelProperty("封面")
    private String picture;
    @ApiModelProperty("简介")
    private String description;
    @ApiModelProperty("商品类别 1书籍 2周边 3积分")
    private int category;
    @ApiModelProperty("积分价格")
    private int integralPrice;
    @ApiModelProperty("积分名称")
    private String specification;
    @ApiModelProperty("规格ID")
    private Long specificationId;
}
